home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
LISP
/
FOOLS
/
!ReadMe
next >
Wrap
Text File
|
1994-11-19
|
4KB
|
103 lines
Fools' Lisp Documentation
-------------------------
This is the first release for Acorn Archimedes / RiscPC platforms of
Fools Lisp. It originated on Unix systems, but after some mild hackery
with the sources it now compiles under both UnixLib and Clib on the Arch.
This version uses Clib - the good thing about this being that we get a
wimpslot extending malloc - if it needs more memory then it'll get it...
Things that are here
--------------------
After some fiddling,
(require '<package>)
works. Examine the end of !Fl.scm.extra to see what I've done to it -
alternatively grep it for 'ams' and you should see the changes - which were
minimal.
Packages are looked for in the current directory, and in !Fl.scm by default;
you can add to these paths if you wish. (Again see the scheme source for
how to do this...)
This has a working extend-syntax; simply do
(require 'extend)
either at the top of your scheme source, then loading your source ensures
extend is present, or type it in at the prompt.
There is an alias 'fools' setup to run Fools lisp in a taskwindow, edit
the !Fl.!Boot, !Fl.!Run files to change this alias - or simply change which
of the aliases there present is commented.
Things that may or may not be here
----------------------------------
We don't have a fancy WIMP interface. (Err there are a number of things you
can do about this...)
file-truncate not present. (Seeing as it isn actually in R3RS/R4RS I cant see
this as problem..)
file-mode not present. (This too isnt in the standard and hence unnecessary..
well actually it's because it uses Unix-isms we don't have on the Arch..)
file-access is present. HOWEVER it cannot be relied on to give true typing of
the file - currently it will merely return whether the file is present or not;
i.e. the second argument is paid no heed to. (Reason for this being it's used
by require to check if a file exists and not much else; so I hacked it around
not to use an access() call...)
file-string not present. (Not in standard and uses stat())
chdir is present. (Very very very hacky but will do the job - relies on
excessively non portable behaviour of system calls on Arch - changing dir
via a system() leaves it intact after returning to calling program - this is
NOT the case under Unix.)
sleep is present. It isnt entirely likely to give you seconds worth of delay.
But it will give you a delay...
ln1+ not present. Havent got a clue what this is and not seen it in any other
Scheme interpreters. Definitely isnt in standard.
exp-1 not present. As per ln1+.
Things that may get put in
--------------------------
I might (if I get time ;-) put in my graphics package to let you have
simple drawing commands - currently this works in my port of SCM and nothing
else. (I considered putting itinto SIOD but thought better of it...)
Might happen but dont hold your breath.
Features
--------
(require '<package-name>)
doesnt shut the files until exiting fools lisp - hence editing them whilst
you have the required in another window is liable to give file open errors.
Hence - use load if at all possible. (As it doesnt seem to suffer from this..)
Compiling in support for the Memory blocks breaks it under clib and unixlib.
Dont know if this makes much of a difference using malloc() in preference.
PPS
---
If anyone actually uses this they could send me an email message saying so..
If anyone wants the patched sources that make it compile under UnixLib/Clib
then get in touch and I'll oblige.
Any bugs / features / gripes / other,
please contact me at either:
Snail:
Al Slater,
Kintail,
Barclay Park,
Aboyne,
Aberdeenshire.
AB34 5JF.
Email: ams@csd.abdn.ac.uk ; good til June '95.